package com.yh.spring.mybatis.model;

import java.util.Date;

import org.springframework.stereotype.Repository;

public class Order {
	private int order_id;
	private String order_name;
	private double order_price;
	private Date order_date;

	public int getOrder_id() {
		return order_id;
	}

	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}

	public String getOrder_name() {
		return order_name;
	}

	public void setOrder_name(String order_name) {
		this.order_name = order_name;
	}

	public Date getOrder_date() {
		return order_date;
	}

	public double getOrder_price() {
		return order_price;
	}

	public void setOrder_price(double order_price) {
		this.order_price = order_price;
	}

	public void setOrder_date(Date order_date) {
		this.order_date = order_date;
	}

	public String toString() {
		return "Order [order_id=" + order_id + ", order_name=" + order_name
				+ ", order_price=" + order_price + ",order_date=" + order_date
				+ "]";
	}
}
